package lc.com.lcpicturebackend.service;

import lc.com.lcpicturebackend.model.dto.chatai.ConversationMsgQueryRequest;
import lc.com.lcpicturebackend.model.entity.ConversationMsg;
import com.baomidou.mybatisplus.extension.service.IService;
import lc.com.lcpicturebackend.model.entity.User;
import lc.com.lcpicturebackend.model.vo.chat.ConversationMsgVO;

import java.util.List;

/**
* @author 罗超
* @description 针对表【conversation_msg】的数据库操作Service
* @createDate 2025-05-26 22:03:10
*/
public interface ConversationMsgService extends IService<ConversationMsg> {

    /**
     * 删除会话消息
     * @param conversationId 会话id
     */
    void deleteConversationMsg(String conversationId);

    /**
     * 获取会话消息列表
     * @param conversationMsgQueryRequest 会话id
     * @return 会话消息
     */
    ConversationMsgVO getConversationMsgListVO(ConversationMsgQueryRequest conversationMsgQueryRequest, User loginUser);

}
